<%@page import="com.mg.utils.JsonUtils"%>
<%@page import="com.mg.common.Constants"%>
<%
	String userInfo=JsonUtils.toJson(request.getSession().getAttribute(Constants.USER_INFO));
%>
<script type="text/javascript">
    var session = new Object();
    session.userInfo = <%=userInfo%>;
</script>